Part Number Hot Search : 
SA85A PL001 LM317 RF2498 SBR101 18271 4885EE DCX122LU
Product Description
Full Text Search
 

To Download CP2501-DK Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0.1 5/10 copyright ? 2010 by silicon laboratories CP2501-DK CP2501-DK cp250 x d evelopment k it u ser ? s g uide 1. kit contents the cp250x development kit contains the following items: ? cp250x motherboard ? cp2501 development daughter board ? cp250x development kit quick-start guide ? product information cd-rom including the following: ?? silicon laboratories integrated development environment (ide) ?? sdcc development tools ?? raisonance development tools (evaluation version) ?? keil 8051 development tools (evaluation version) ?? cp250x configuration wizard and bootloader ?? source code examples ?? documentation ? ac-to-dc universal power adapter ? two usb cables 2. hardware setup see figure 1 for a diagram of the hardware configuration. 1. attach the daughter board to the motherboard at connectors p1 and p2. 2. place shorting blocks on j7 and j3 [+3vd, vdd_pwr], as shown in figure 1. 3. connect the motherboard?s p5 usb connector to a pc using the usb cable. 4. connect the ac-to-dc power adapter to connector p3 on the motherboard. notes: 1. use the reset icon in the ide to reset the target when connected during a debug session. 2. remove power from the motherboard and remove the u sb cable before removing a daughter board from the motherboard. connecting or disconnecting a daughter board when the power adapter or usb cable are connected can damage the motherboard or the daughter board.
CP2501-DK 2 rev. 0.1 figure 1. hardware setup u1 f326 cp250x-mb silicon labs www.silabs.com p5 j3 +3vd vdd_pwr vdd_debug reset tb3 tb1 tb2 p3 j15 vpp j7 j13 j1 j2 p2 p1 d10 d11 d12 spi_sclk spi_miso spi_mosi spi_nss gnd uart_rx uart_tx gnd smbus_sda smbus_scl gnd usb cable place shorting blocks on j3 and j7 as shown. u1 cp 2501 cp2501-gm edb silicon labs www.silabs.com p3 j1 vdd vregin vbus ac adapter pwr h1 gpio7-0 h2 gpio15-8
CP2501-DK rev. 0.1 3 3. software installation the included cd-rom contains the silicon labs inte grated development environm ent (ide), 8051 evaluation toolset, optional software utilities, and additional doc umentation. insert th e cd-rom into your pc?s cd-rom drive. an installer will automatically launch, a llowing you to install the ide software or read documentation by clicking buttons on the installation panel. if the installer does not automatically start when you insert the cd-rom, run autorun.exe found in the root directory of the cd-rom. refer to the releasenotes.txt file on the cd-rom for the latest information regarding kn own problems and restrictions. 3.1. system requirements the following are the system requirements necessary to run the debug and programming tools: ? pentium-class host pc running microsoft windows xp or newer. ? one available usb port. 3.2. development tools installation to install the ide, utilit ies, and code examples, perform the following steps: 1. click on the "install development tools" button on the installation ut ility's startup screen. 2. in the kit selection box that appears, choose the cp250x development kit from the list of options. 3. in the next screen, choose ?components to be installed?. the programs necessary to download and debug on the mcu are the silicon labs ide and the 8051 evaluation toolset . see section 4. for an overview of all applicable software included on the cd-rom. 4. installers selected in step 3 will execute in sequen ce, prompting the user as they install programs, documentation, and drivers. 4. software overview the following software is necessary to build a project, download code to, and communicate with the target microcontroller. ? 8051 evaluation toolset ? silicon labs integr ated development environment (ide) other useful software that is provided on th e development kit cd and th e silicon labs downloads (www.silabs.com/mcudownloads) website includes the following: ? cp250x configuration wizard ? cp250x usb bootloader 4.1. 8051 evaluation toolset the silicon labs ide has native support for many third party 8051 toolsets. included with this kit are several 8051 evaluation assembler, compiler, and linke r toolsets. for further information on the tools, including limitations, see the corresponding application note. application notes can be found in the documentation section of the development kit cd, or on the silicon labs website ( http://www.silabs.com/products/mcu/pages/ applicationnotes.aspx ). see table 1 for a list of supported toolsets and associated application notes. table 1. supported third party 8051 toolsets toolset application note keil an104, ?integrating keil 8051 to ols into the silicon labs ide? raisonance an125, ?integrating raisonance 8051 tools into the silicon labs ide? sdcc an198, ?integrating sdcc 8051 tools into the silicon labs ide?
CP2501-DK 4 rev. 0.1 4.2. silicon labs ide the silicon labs ide in tegrates a source-cod e editor, source-level debugger and in-system programmer. the following sections discuss how to open an example project in the ide, build the source code, and download it to the target device. 4.2.1. running the cp250x_noscreen example program the cp250x_noscreen example program drags a simulated finger star ting from the top left corner of the screen towards the middle of the screen and releases. 1. open the silicon labs ide from the start menu. 2. select project ? open project to open an existing project. 3. browse to the c:\silabs\mcu\examples\cp250x\noscreen directory (default) and select the cp250x_noscreen.wsp project file and click open . 4. once the project is open, build the project by clicking on the build/make project button in the toolbar or selecting project ? build/make project from the menu. note: after the project has been built the first time, the build/make project command will only build the files that have been changed since the previous build . to rebuild all files and project dependencies, click on the rebuild all button in the toolbar or select project ? rebuild all from the menu. 5. before connecting to the target device, several co nnection options may need to be set. open the connec- tion options window by selecting options ? connection options... in the ide menu. first, select the ?usb debug adapter? option. next, the correct ?debug interface? must be selected. cp2501 devices use silicon labs ? c2 ? 2-wire debug interface. once all the selections are made, click the ok button to close the window. 6. click the connect button in the toolbar or select debug ? connect from the menu to connect to the device. 7. download the project to the target by clicking the download code button in the toolbar. note: to enable automatic downloading if the program build is successful select enable automatic con- nect/download after build in the project ? target build configuration dialog. if errors occur during the build process, the ide will not attempt the download. 8. click on the go button (green circle) in the toolbar or by selecting debug ? go from the menu to start run- ning the firmware. 9. connect the usb connector on the daughter board to a windows vista or windows 7 pc that supports hid touchscreens. 10. the device will enumerate and then drag the simulated finger across the screen. 4.2.2. creating a new project use the following steps to create a new project. once step s 1-5 in this section are complete, continue at step 4 in section 4.2.1. 1. select project ? new project to open a new project and reset all configuration settings to default. 2. select file ? new file to open an editor window. create your source file(s) and save the file(s) with a rec- ognized extension, such as .c, .h, or .asm, to enable color syntax highlighting. 3. right-click on ?new project? in the project window . select add files to project . select files in the file browser and click open. continue adding files until all project files have been added. 4. for each of the files in the project window that you want assembled, comp iled and linked into the target build, right-click on th e file name and select add file to build . each file will be as sembled or compiled as appropriate (based on file extension) and linke d into the build of the absolute object file. note: if a project contains a large number of files, the ?group? feature of the ide can be used to organize. right-click on ?new project? in the project window . select add groups to project . add pre-defined groups or add customized groups. right-click on the group name and choose add file to group . select files to be added. continue adding files until all project files have been added. 5. save the project when finished with the debug session to preserve the current target build configuration, editor settings and the location of all open debug views. to save the project, select project ? save project as... from the menu. create a new name for the project and click on save .
CP2501-DK rev. 0.1 5 4.3. cp250x conf iguration wizard the cp250x configuration wizard gener ates the initial firmware project for cp250x devices based on the user?s system requirements. code is generated through the use of dialog boxes as shown in figure 2. figure 2. cp250x configuration wizard the cp250x configuration wizard utilit y helps accelerate development by aut omatically generati ng initialization source code to configure and enable the on-chip resources ne eded by most design projects. in just a few steps, the wizard creates complete firm ware that will enumerate ov er usb as a hid touch scr een device. the program is configurable to output projects for raisonance, sdcc, and keil. for more information, refe r to the ?an464: cp250x programmer?s guide and api specification.? documentation and software is available on the kit cd and from the downloads webpage: www.silabs.com/mcudownloads .
CP2501-DK 6 rev. 0.1 5. development boards the cp2501 development kit includes a motherboard that interfaces to a dau ghter board. the cp2501 development daughter board contains a cp2501 device to be used for preliminary software development. numerous input/output (i/o) co nnections are provided on th e motherboard to facilitate prototyping. figure 3 shows the cp250x motherboard and indicates locations for vari ous i/o connectors and shows the factory default shorting block positions. figure 4 shows th e available cp250x daughter board. cp250x motherboard p1, p2 daughter board connection p3 power connector that accepts input from 7.5 v dc to 15 v dc unregulated power adapter p5 usb debug interface connector h1 gpio 7:0 header h2 gpio 15:8 header j1 smbus pull-up resistor power header j2 uart connection to debug adapter j3 power supply selection header j7 power supply enable header that connects power source selected on j3 to the board's main power supply net j13 additional connections to ground tb1 uart interface header tb2 smbus interface header tb3 spi interface header cp2501 development daughter board j1 cp2501 vregin input selection header p3 usb connector for touch-screen interface
CP2501-DK rev. 0.1 7 figure 3. cp250x motherboard with default shorting block positions figure 4. cp2501 development daughter board u1 f326 cp250x-mb silicon labs www.silabs.com p5 j3 +3vd vdd_pwr vdd_debug reset tb3 tb1 tb2 p3 j15 vpp j7 j13 j1 j2 p2 p1 d10 d11 d12 spi_sclk spi_miso spi_mosi spi_nss gnd uart_rx uart_tx gnd smbus_sda smbus_scl gnd pwr h1 h2 gpio7-0 gpio15-8 u1 cp 2501 cp2501-gm edb silicon labs www.silabs.com p3 j1 vdd vregin vbus
CP2501-DK 8 rev. 0.1 5.1. switch and leds the reset switch is connected to the rst pin of the cp250x. pressing reset puts the device into its hardware- reset state. four leds are also provided on the motherboard. the red led labeled ?pwr? (d4), indicates a power connection to the motherboard. the green led labeled ?run? (d10) turn s on when the debug circuitry is in a running state; the red led labeled ?stop? (d11) turns on when the de bug circuitry is in a halted state, and the orange led labeled ?debug pwr? (d12) indicates whether the debug adapter circuit is being powered through p5's usb connector. table 2 lists the port pins and headers corresponding to the switch and leds. 5.2. power supply headers (p3, j3, and j7) the main power supply of the motherboar d, which is used to power the daught er board, can be provided by either the usb debug device?s on-chip voltage regulator or p3 and its associated circuitry. to select a power supply, place a shorting block on j3 across the appropriate pin pair, as shown in figure 5. to connect the main power supply to an attached daughter board, pl ace a shorting block across j7. notes: 1. only two of the pins on the j3 head er should be connected at any one time 2. to use the usb debug device?s voltage regulator as the board's power supply, a usb cable must be connected to p5, and the debug pwr led (d12) must be on. figure 5. j3 and j7 shorting block configuration for power options table 2. motherboard led and switch descriptions description component name i/o header reset sw3 daughter board?s rst/c2ck none red led labeled "pwr" d4 daughter board?s vdd j3, j7 green led labeled "run" d10 debug adapter signal none red led labeled "stop" d11 debug adapter signal none orange led labeled "debug pwr" d12 debug adapter signal none j3 +3.3v regulator power (from p3) debug circuit power (from usb at p5) vdd_pwr vdd_cp250x j3 vdd_pwr +3vd vdd_debug vdd_pwr +3vd vdd_debug j7 vdd_pwr vdd_cp250x j7
CP2501-DK rev. 0.1 9 5.3. usb debug device (debug/p5) a universal serial bus (usb) connector (p5) provides the onboard debug and programming interface. the debug/ programming mcu and associated circuitry are powered through the usb connector, which can also supply the rest of the motherboard by routing the usb debug de vice?s power through j3. the usb debug device also provides a data communications interface that c an be used when the debug adapter is not debugging or programming a cp250x device. 5.4. uart communicati ons interfaces (tb1, j2) the cp250x motherboard provides uart to usb communi cations interfaces through both the tb1 interface and the communications interface of the usb debug adapte r. any external touch screen module using the uart interface can connect to the cp250x through either header. the usb debug device?s communications interface connects to a pc through p5. access to the usb debug device?s communications interface is provided by the windows program called ?toolstick terminal?, which is available for download for free from t he silicon laboratories website. see t he toolstick terminal help file for information on how to use toolstick terminal. the cp250x motherboard routes the cp250x?s uart_tx and uart_rx pins to j2, where those signals can be optionally connected to tb1 header. 5.5. smbus communicat ions interface (tb2, j1) the cp250x motherboard connects the smbus interfac e pins smbus_sda and smbus_scl to the tb2 header. these two pins can be pulled up to the vio net through the two pull-up resistors, r1 and r2, by adding the shorting block to the j1 header. only one set of pull-up resistor s is required on any smbus network. the shorting block on the j1 header should be removed if the pull-up resistors are already present on the network. the r1 and r2 pull-up resistors are 1k resistors and are locate d on the backside of the mother board near the tb2 header. 5.6. spi communications interfaces (tb3) the cp250x motherboard connects the spi interface pins, spi_sclk, spi_miso, spi_mosi, and spi_nss to the tb3 header. 5.7. gpio interfaces (h1, h2) the cp2501 devices support 16 gpio pins (gpio0 throug h gpio15). these gpio pins are connected to the two headers h1 and h2. 5.8. daughter board (p3, j1) the p3 header on the daughter board is the usb connection for the cp2501. the j3 header selects how the cp2501 on the daughter board is powered. if a shorting block is connected to j1[vbus-vregin], the cp2501 is powered from the p3 usb connector. if a shorting block is connected to j1[vdd-vre gin], the cp2501 is powered from the motherboard.
CP2501-DK 10 rev. 0.1 6. schematics figure 6. cp250x motherboard schematic (1 of 2)
CP2501-DK rev. 0.1 11 figure 7. cp250x motherboard schematic (2 of 2)
CP2501-DK 12 rev. 0.1 figure 8. cp2501 development daughter board schematic
CP2501-DK rev. 0.1 13 n otes :
CP2501-DK 14 rev. 0.1 c ontact i nformation silicon laboratories inc. 400 west cesar chavez austin, tx 78701 tel: 1+(512) 416-8500 fax: 1+(512) 416-9669 toll free: 1+(877) 444-3032 please visit the silicon labs technical support web page and register to submit a technical support request. silicon laboratories and silicon labs are trademarks of silicon laboratories inc. other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders. the information in this document is believed to be accurate in all respects at the time of publ ication but is subject to change without notice. silicon laboratories assumes no responsibility for errors and om issions, and disclaims responsibi lity for any consequences resu lting from the use of information included herein. ad ditionally, silicon laboratorie s assumes no responsibility for the functioning of und escribed features or parameters. silicon laboratories reserves the right to make changes without further notice . silicon laboratories makes no wa rranty, rep- resentation or guarantee regarding the suitability of its products for any particular purpose, nor does silicon laboratories as sume any liability arising out of the application or use of any product or circuit, and s pecifically disclaims any and all liability, including wi thout limitation conse- quential or incidental damages. silicon laborat ories products are not designed, intended, or authorized for use in applications intended to support or sustain life, or for any other application in which the failure of t he silicon laboratories product could create a s ituation where per- sonal injury or death may occur. should buyer purchase or us e silicon laboratories products for any such unintended or unauthor ized ap- plication, buyer shall indemnify and hold silicon laboratories harmles s against all claims and damages.


▲Up To Search▲   

 
Price & Availability of CP2501-DK

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X